package com.ruiyun.ruinews.base;

import android.app.Application;
import android.content.Context;

/**
 * Created by zouhui on 16/1/7.
 */
public class RuiApplication extends Application{
    public static Context context ;

    /**
     * 应用程序启动时被系统调用
     */
    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
    }

    /**
     * 应用程序退出时会被系统调用
     */
    @Override
    public void onTerminate() {
        super.onTerminate();
    }
}
